package com.example.payment.strategy;

import com.alipay.api.AlipayApiException;
import com.example.model.check_in.CheckIn;
import com.example.model.payment.Payment;
import com.example.model.payment.PaymentResultVo;

import java.math.BigDecimal;



public interface  PayTypeStrategy {

    PaymentResultVo pay(Payment payment, BigDecimal amount, BigDecimal pay) throws AlipayApiException;

    void refund(Long paymentId, BigDecimal amount) throws AlipayApiException;
}


